//
//  UILabel+Extension.swift
//  传智新浪微博
//
//  Created by app on 17/6/7.
//  Copyright © 2017年 app. All rights reserved.
//

import UIKit

extension UILabel {
    
    class func lwh_label (withText: String, fontSize: CGFloat, color: UIColor) -> UILabel {
        
        let label = UILabel()
        label.text = withText
        label.font = UIFont(name: "STHeitiTC-Light", size: fontSize)
        label.textColor = color
        label.numberOfLines = 0
        label.textAlignment = .center
        
        return label
    }
}
